package com.lm.service.impl;

import com.lm.mapper.MyTeamDetailsMapper;
import com.lm.pojo.ServicePackage;
import com.lm.pojo.TeamRelation;
import com.lm.service.MyTeamDetailsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class MyTeamDetailsServicelmpl implements MyTeamDetailsService {

    @Autowired
    private MyTeamDetailsMapper myTeamDetailsMapper;

    @Override
    public List<TeamRelation> findTeamMember(Integer doctorTeamId) {
        return myTeamDetailsMapper.findTeamMember(doctorTeamId);
    }

    @Override
    public List<ServicePackage> findTeamServicePackage(Integer doctorTeamId) {
        return myTeamDetailsMapper.findTeamServicePackage(doctorTeamId);
    }
}
